package com.jack.xiaoer.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jack.xiaoer.entity.Product;

import java.util.Optional;

/**
 * Created by Jackaroo Zhang on 2018/12/13.
 */
public interface ProductService {

    Product createProduct(Optional<Product> product);

    IPage<Product> listProduct(Long shopId, Long cateId, int pageNum, int pageSize);

}
